<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div id="book_item_img" style="background-color:#EEEEEE;height:150px;width:150px;">
</div>
<a href="${ baseURL }/book?id=${ param.id }">${ param.title }</a>
<p class="book_item_txt">Price: \$${ param.price }</p>
<c:if test="${ param.qty == '0' }">
	<p class="book_item_txt">Out of stock</p>
</c:if>
<c:if test="${ param.qty == '-1' }">
	<p class="book_item_txt">Unavailable</p>
</c:if>
<c:if test="${ param.qty != '0' && param.qty != '-1'}">
	<p class="book_item_txt">In Stock: ${ param.qty }</p>
</c:if>